package com.shequan.demo.dao;

import java.util.List;

import com.shequan.demo.bean.pojo.DemoUserInfo;

public interface DemoDAO {

    int deleteByPrimaryKey(Integer userId);
 
    int insert(DemoUserInfo record);
 
    int insertSelective(DemoUserInfo record);
 
    DemoUserInfo selectByPrimaryKey(Integer userId);
    
    List<DemoUserInfo> selectAllUsers();
 
    int updateByPrimaryKeySelective(DemoUserInfo record);
 
    int updateByPrimaryKey(DemoUserInfo record);
    
    DemoUserInfo selectUserByUserNameAndUserPwd(DemoUserInfo record);
    
    DemoUserInfo selectUserByUserName(DemoUserInfo record);
    
}